package cn.itcast.wanxinp2p.consumer.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//测试类
@RestController
@Api(value = "用户服务的Controller", tags = "Consumer", description = "用户服务API")
public class TestConsumerController {
    @ApiOperation("测试hello")
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }
}
